package com.jindy.module.oaProbationApproval.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jindy.activiti.domain.ProcessEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 转正审批对象 sy_oa_probation
 * 
 * @author jindy
 * @date 2023-06-15
 */
public class SyOaProbation extends ProcessEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 入职日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryTime;

    /** 试用期 */
    @Excel(name = "试用期")
    private String probation;

    /** 转正日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "转正日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date probationary;

    /** 职位 */
    @Excel(name = "职位")
    private String position;

    /** 职位id */
    @Excel(name = "职位id")
    private Long positionId;

    /** 职级 */
    @Excel(name = "职级")
    private String prank;

    /** 工作业绩结果描述 */
    @Excel(name = "工作业绩结果描述")
    private String performance;

    /** 价值观落地 */
    @Excel(name = "价值观落地")
    private String pvalues;

    /** 工作态度和技能 */
    @Excel(name = "工作态度和技能")
    private String attitude;

    /** 个人优势和不足 */
    @Excel(name = "个人优势和不足")
    private String advantage;

    /** 未来工作方向和目标 */
    @Excel(name = "未来工作方向和目标")
    private String target;

    /** 申请人id */
    @Excel(name = "申请人id")
    private String applyUserId;

    /** 申请人姓名 */
    @Excel(name = "申请人姓名")
    private String applyUserName;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 流程实例ID */
    @Excel(name = "流程实例ID")
    private String instanceId;

    /** 流程定义key */
    @Excel(name = "流程定义key")
    private String processKey;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 流水单号 */
    @Excel(name = "流水单号")
    private String serialNum;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private String businessStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEntryTime(Date entryTime) 
    {
        this.entryTime = entryTime;
    }

    public Date getEntryTime() 
    {
        return entryTime;
    }
    public void setProbation(String probation) 
    {
        this.probation = probation;
    }

    public String getProbation() 
    {
        return probation;
    }
    public void setProbationary(Date probationary) 
    {
        this.probationary = probationary;
    }

    public Date getProbationary() 
    {
        return probationary;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setPositionId(Long positionId) 
    {
        this.positionId = positionId;
    }

    public Long getPositionId() 
    {
        return positionId;
    }
    public void setPrank(String prank) 
    {
        this.prank = prank;
    }

    public String getPrank() 
    {
        return prank;
    }
    public void setPerformance(String performance) 
    {
        this.performance = performance;
    }

    public String getPerformance() 
    {
        return performance;
    }
    public void setPvalues(String pvalues) 
    {
        this.pvalues = pvalues;
    }

    public String getPvalues() 
    {
        return pvalues;
    }
    public void setAttitude(String attitude) 
    {
        this.attitude = attitude;
    }

    public String getAttitude() 
    {
        return attitude;
    }
    public void setAdvantage(String advantage) 
    {
        this.advantage = advantage;
    }

    public String getAdvantage() 
    {
        return advantage;
    }
    public void setTarget(String target) 
    {
        this.target = target;
    }

    public String getTarget() 
    {
        return target;
    }
    public void setApplyUserId(String applyUserId) 
    {
        this.applyUserId = applyUserId;
    }

    public String getApplyUserId() 
    {
        return applyUserId;
    }
    public void setApplyUserName(String applyUserName) 
    {
        this.applyUserName = applyUserName;
    }

    public String getApplyUserName() 
    {
        return applyUserName;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }
    public void setInstanceId(String instanceId) 
    {
        this.instanceId = instanceId;
    }

    public String getInstanceId() 
    {
        return instanceId;
    }
    public void setProcessKey(String processKey) 
    {
        this.processKey = processKey;
    }

    public String getProcessKey() 
    {
        return processKey;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setSerialNum(String serialNum) 
    {
        this.serialNum = serialNum;
    }

    public String getSerialNum() 
    {
        return serialNum;
    }
    public void setBusinessStatus(String businessStatus) 
    {
        this.businessStatus = businessStatus;
    }

    public String getBusinessStatus() 
    {
        return businessStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("entryTime", getEntryTime())
            .append("probation", getProbation())
            .append("probationary", getProbationary())
            .append("position", getPosition())
            .append("positionId", getPositionId())
            .append("prank", getPrank())
            .append("performance", getPerformance())
            .append("pvalues", getPvalues())
            .append("attitude", getAttitude())
            .append("advantage", getAdvantage())
            .append("target", getTarget())
            .append("remark", getRemark())
            .append("applyUserId", getApplyUserId())
            .append("applyUserName", getApplyUserName())
            .append("applyTime", getApplyTime())
            .append("instanceId", getInstanceId())
            .append("processKey", getProcessKey())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("serialNum", getSerialNum())
            .append("businessStatus", getBusinessStatus())
            .toString();
    }
}
